<template>
  <div id="app">
    <router-view />
  </div>
</template>

<script>
import {
  removeToken,
  getToken
} from "@/utils/auth";
export default {
  name: "App",
  
  mounted() {
    console.log("-00");
    // if(!getToken()){
    //   this.$router.push("/login")
    // }
    
  },
};
</script>

<style>
html,
body {
  height: 100%;
  background-color: #f0f3f5;
}
#app {
  font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #2c3e50;
  min-width: 1500px;
  /* height: 100%; */
}
body {
  padding: 0;
  margin: 0;
}
</style>
